import axios from "./index";

const get = (url, params, headers) => axios({ method: "get", url, params, headers });
const gets = ( url, headers) => axios({ method: "get", url, headers });
// const get = (url, params, headers) =>axios({ method: "get", url, params, headers });

// const gets = (url, headers) => axios({ method: "get", url, headers });

const post = (url, data, headers) =>
  axios({ method: "post", url, data, headers });

const patch = (url, data, headers) =>
  axios({ method: "patch", url, data, headers });

const del = (url, headers) => axios({ method: "delete", url, headers });

const puts = (url, data, headers) => axios({ method: "put", url, data, headers });
// export {get, post, patch, del,puts,gets };
const put = (url, data, headers) =>
  axios({ method: "put", url, data, headers });

export { get, post, patch, del, gets, put,puts };
